import api from './api'


export function userGetUserInfo(data) {
  return api.get('/system/user/profile/get', data, { login: true })
}


export function getSimpleUserList(data) {
  return api.get('/system/user/page', data, { login: true })
}

export function getSimpleUserList2(data) {
  return api.get('/system/user/simple-list', data, { login: true })
}

export function getFlowUsers(data) {
  return api.get('/crm/flow/flow-users', data, { login: true })
}

export function updateUser(data) {
  return api.put('/system/user/profile/update', data, { login: true })
}


export function updateUserProfilePassword(data) {
  return api.put('/system/user/profile/update-password', data, { login: true })
}

export function getWechatInfo(data) {
  return api.get('/mp/account/get', data, { login: true })
}

export function updateOpenid(data) {
  return api.get('/system/user/updateOpenid', data, { login: true })
}




